<?php 
$CI =& get_instance();
$CI->load->library("admin/admin_header_lib");
$CI->admin_header_lib->display_header_element(array("script"=>array("jquery-1.4.2","jquery.validate")));
$CI->admin_header_lib->display_header();

$CI->load->library('admin/admin_sidebar_lib');
$CI->admin_sidebar_lib->display_sidebar();

?>
<div class="admin_right">
<div style="height:7px;"></div>
        	<div class="div0013">
            	<div class="div20"><h2 class="head02">page management</h2></div>
                    
                <div class="clear"></div>
                <div class="line6"></div>
                 <div class="div24">
                	<ul>
                        <?php if(is_array($query)){ 
			
                        foreach($query as $row)
                        {
                        ?>
                        <li>
                        <div class="div20"><?php echo $row->staticpage_title;?></div>
                        
                       
                        <div class="div012"><?php echo anchor('admin/staticpage/edit/'.$row->staticpage_id,'Edit','Edit the static page')?></div>
                        <div class="clear"></div>
                        </li>
                        <div class="line6"></div>
                        <?php } }?>
                    </ul>
                </div>	
             </div>
         </div>

<?php //$this->load->view(TEMPLATE_NAME.'/admin/footer');
$CI->load->library('admin/admin_footer_lib');
$CI->admin_footer_lib->display_footer();

?>